<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>
<? if ($category == CommonValues::$gMRCategory['key']['Project']) {?>
<div class="form-row">
<label for="mr2_project">Project:</label>
  <div class="content">
  <?php 
  $mr2 = new MR2();
  $value = object_select_tag($mr2, 'getProjectId', array (
  'related_class' => 'Project',
  'control_name' => 'mr2[project_id]',
  'include_blank' => true,
)); echo $value ? $value : '&nbsp;' ?>
    </div>
</div>
<?} else {?>
<input type="hidden" name = "mr2[project_id]" id="mr2_project_id" value ="0">
<?}?>
</div>